/**
 * 
 */
package com.feonix.designPattern.Adapter.sample3;

import java.io.IOException;

/**
 * @CopyRight (c)1993-2017
 * @Project common_practice
 * @Comments 请输入该类的描述
 * @NameSpace com.feonix.designPattern.Adapter.sample3
 * @Author Feonixzw
 * @CreateDate 2018年1月25日
 */
public class Main {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		FileIO fileIo = new FileProperties();
		fileIo.readFromFile("src/main/java/com/feonix/designPattern/Adapter/sample3/aa.properties");
		fileIo.setValue("hahah", "mamama");
		fileIo.setValue("hahah1", "aaaaaa");
		fileIo.setValue("hahah22", "vvvvvv");
		fileIo.setValue("hahah33", "gggggg");
		fileIo.writeToFile("src/main/java/com/feonix/designPattern/Adapter/sample3/bb.properties");

	}

}
